<%@ Page Language="C#" MasterPageFile="~/pages/MasterPage.master" AutoEventWireup="true" CodeFile="Spot.aspx.cs" Inherits="pages_Spot" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="headHolder" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="bodyHoder" Runat="Server">
<asp:Repeater ID="rptSpotList" runat="server">
  <ItemTemplate>
			    <div class="contentbox">
				    <a href="Spot.aspx?id=<%#Eval("Id") %>"><img src="<%#Eval("ImageURL") %>" alt="" class="thumb_image"/></a>
				    <h4 style="display:inline;clear:none;"><%#Eval("Name") %></h4><br />
				    <%#Eval("Description") %><br/>				    
					<a href="Spot.aspx?id=<%#Eval("Id") %>" class="link_button">Details ...</a>					   
				    
			    </div>			    
	</ItemTemplate>
</asp:Repeater>
<div class="contentbox">
<asp:Repeater ID="rptSpotDetails" runat="server">
<ItemTemplate>

    <h2 class="article_title"><%#Eval("Name") %></h2>
    <hr />
    <%#Eval("Article") %>  
    <span class="v_padding10"></span>
    <asp:Panel ID="pnlEdit" runat="server" Visible="false">
        <a href="../admin/Default.aspx?ctrl=spot&mode=1&id=<%#Eval("Id") %>" title="Edit this spot information">[Edit]</a>
    </asp:Panel>
</ItemTemplate>
</asp:Repeater>
</div>
</asp:Content>

